<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::DGRUdpApplication Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d5/dbe/classns3_1_1_d_g_r_udp_application.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d5/d32/classns3_1_1_d_g_r_udp_application-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::DGRUdpApplication Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ns3::DGRUdpApplication:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../db/d93/classns3_1_1_d_g_r_udp_application__inherit__graph.png" border="0" usemap="#ans3_1_1_d_g_r_udp_application_inherit__map" alt="Inheritance graph"/></div>
<map name="ans3_1_1_d_g_r_udp_application_inherit__map" id="ans3_1_1_d_g_r_udp_application_inherit__map">
<area shape="rect" title=" " alt="" coords="5,79,187,104"/>
<area shape="rect" href="../../de/d6b/class_application.html" title=" " alt="" coords="49,5,143,31"/>
<area shape="poly" title=" " alt="" coords="99,44,99,79,93,79,93,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ns3::DGRUdpApplication:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/d4a/classns3_1_1_d_g_r_udp_application__coll__graph.png" border="0" usemap="#ans3_1_1_d_g_r_udp_application_coll__map" alt="Collaboration graph"/></div>
<map name="ans3_1_1_d_g_r_udp_application_coll__map" id="ans3_1_1_d_g_r_udp_application_coll__map">
<area shape="rect" title=" " alt="" coords="293,137,474,163"/>
<area shape="rect" href="../../de/d6b/class_application.html" title=" " alt="" coords="5,5,100,31"/>
<area shape="poly" title=" " alt="" coords="76,38,125,76,154,95,186,111,239,128,293,138,292,144,238,133,184,116,152,100,121,80,73,42"/>
<area shape="rect" title=" " alt="" coords="124,5,237,31"/>
<area shape="poly" title=" " alt="" coords="189,43,204,79,216,97,230,111,260,128,293,139,292,144,258,133,227,115,212,100,200,82,185,46"/>
<area shape="rect" title=" " alt="" coords="262,5,337,31"/>
<area shape="poly" title=" " alt="" coords="303,44,309,78,324,112,338,125,354,135,351,140,335,129,320,115,304,80,297,45"/>
<area shape="rect" title=" " alt="" coords="361,5,435,31"/>
<area shape="poly" title=" " alt="" coords="390,44,387,55,383,100,385,137,380,137,378,100,382,54,385,43"/>
<area shape="rect" title=" " alt="" coords="466,5,549,31"/>
<area shape="poly" title=" " alt="" coords="508,45,500,80,492,99,480,115,461,130,440,140,438,135,458,125,476,111,487,96,495,79,503,44"/>
<area shape="rect" title=" " alt="" coords="587,5,657,31"/>
<area shape="poly" title=" " alt="" coords="624,46,616,82,607,100,594,115,574,126,545,135,475,145,474,140,544,129,572,121,591,111,603,97,611,80,618,45"/>
<area shape="rect" title=" " alt="" coords="721,5,771,31"/>
<area shape="poly" title=" " alt="" coords="748,45,741,81,732,100,718,116,685,126,623,135,475,147,474,141,623,130,683,121,715,111,727,97,735,80,743,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a789f5dd5d50db1e9d60f7f7618098f0d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a789f5dd5d50db1e9d60f7f7618098f0d">DGRUdpApplication</a> ()</td></tr>
<tr class="separator:a789f5dd5d50db1e9d60f7f7618098f0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7423806aaf0be2db0e87be4d30dae7f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ad7423806aaf0be2db0e87be4d30dae7f">~DGRUdpApplication</a> () override</td></tr>
<tr class="separator:ad7423806aaf0be2db0e87be4d30dae7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7820a661567dee9c180baebda7a4429"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ae7820a661567dee9c180baebda7a4429">ChangeRate</a> (DataRate newDataRate)</td></tr>
<tr class="memdesc:ae7820a661567dee9c180baebda7a4429"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the sending rate.  <br /></td></tr>
<tr class="separator:ae7820a661567dee9c180baebda7a4429"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb264cf9c38a6270a7f56faf5a4ff4a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#adb264cf9c38a6270a7f56faf5a4ff4a3">Setup</a> (Ptr&lt; Socket &gt; socket, Address sinkAddress, uint32_t packetSize, uint32_t nPackets, DataRate dataRate, bool flag=false)</td></tr>
<tr class="memdesc:adb264cf9c38a6270a7f56faf5a4ff4a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the socket.  <br /></td></tr>
<tr class="separator:adb264cf9c38a6270a7f56faf5a4ff4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e5af196e076be85b8442c5375bc3e7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a2e5af196e076be85b8442c5375bc3e7e">Setup</a> (Ptr&lt; Socket &gt; socket, Address sinkAddress, uint32_t packetSize, uint32_t nPackets, DataRate dataRate, uint32_t budget, bool flag=false)</td></tr>
<tr class="memdesc:a2e5af196e076be85b8442c5375bc3e7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the socket.  <br /></td></tr>
<tr class="separator:a2e5af196e076be85b8442c5375bc3e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:adf5ede44035ee65db58c501d67f01d07"><td class="memItemLeft" align="right" valign="top">static TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#adf5ede44035ee65db58c501d67f01d07">GetTypeId</a> (void)</td></tr>
<tr class="memdesc:adf5ede44035ee65db58c501d67f01d07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register this type.  <br /></td></tr>
<tr class="separator:adf5ede44035ee65db58c501d67f01d07"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a217460003efed056634b84d512c0f47b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a217460003efed056634b84d512c0f47b">ScheduleTx</a> ()</td></tr>
<tr class="memdesc:a217460003efed056634b84d512c0f47b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Schedule a new transmission.  <br /></td></tr>
<tr class="separator:a217460003efed056634b84d512c0f47b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a844392732fe5f6e197992c862c4151db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a844392732fe5f6e197992c862c4151db">SendPacket</a> ()</td></tr>
<tr class="memdesc:a844392732fe5f6e197992c862c4151db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send a packet <br  />
  <br /></td></tr>
<tr class="separator:a844392732fe5f6e197992c862c4151db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada9c016c08e91a65da084c790acd4618"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ada9c016c08e91a65da084c790acd4618">StartApplication</a> (void) override</td></tr>
<tr class="separator:ada9c016c08e91a65da084c790acd4618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab68d0f087fac0f3d02e3c8717b8cc21"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#aab68d0f087fac0f3d02e3c8717b8cc21">StopApplication</a> (void) override</td></tr>
<tr class="separator:aab68d0f087fac0f3d02e3c8717b8cc21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:abd5375f6282c6727baa7fb565cff8a3e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#abd5375f6282c6727baa7fb565cff8a3e">m_budget</a></td></tr>
<tr class="memdesc:abd5375f6282c6727baa7fb565cff8a3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The budget time in millisecond.  <br /></td></tr>
<tr class="separator:abd5375f6282c6727baa7fb565cff8a3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c89a7a5f07d90b347e46045b03e7c7a"><td class="memItemLeft" align="right" valign="top">DataRate&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a0c89a7a5f07d90b347e46045b03e7c7a">m_dataRate</a></td></tr>
<tr class="memdesc:a0c89a7a5f07d90b347e46045b03e7c7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The data rate to use.  <br /></td></tr>
<tr class="separator:a0c89a7a5f07d90b347e46045b03e7c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb6df6b08f1d2e547e56bee6581a5fc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a3cb6df6b08f1d2e547e56bee6581a5fc">m_flag</a></td></tr>
<tr class="memdesc:a3cb6df6b08f1d2e547e56bee6581a5fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The packet flag.  <br /></td></tr>
<tr class="separator:a3cb6df6b08f1d2e547e56bee6581a5fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96e0bf33b34279f8ac18d854702da5e5"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a96e0bf33b34279f8ac18d854702da5e5">m_nPackets</a></td></tr>
<tr class="memdesc:a96e0bf33b34279f8ac18d854702da5e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of packet to send.  <br /></td></tr>
<tr class="separator:a96e0bf33b34279f8ac18d854702da5e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abca558ff6138a432a1ed7413b2fe2fd7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#abca558ff6138a432a1ed7413b2fe2fd7">m_packetSent</a></td></tr>
<tr class="memdesc:abca558ff6138a432a1ed7413b2fe2fd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of packets sent.  <br /></td></tr>
<tr class="separator:abca558ff6138a432a1ed7413b2fe2fd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51a9c8759e37e18a79e058ef519bcce"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ae51a9c8759e37e18a79e058ef519bcce">m_packetSize</a></td></tr>
<tr class="memdesc:ae51a9c8759e37e18a79e058ef519bcce"><td class="mdescLeft">&#160;</td><td class="mdescRight">The packet size.  <br /></td></tr>
<tr class="separator:ae51a9c8759e37e18a79e058ef519bcce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a054ebc8dca3d709e0ef224465ec2d9bc"><td class="memItemLeft" align="right" valign="top">Address&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a054ebc8dca3d709e0ef224465ec2d9bc">m_peer</a></td></tr>
<tr class="memdesc:a054ebc8dca3d709e0ef224465ec2d9bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The destination address.  <br /></td></tr>
<tr class="separator:a054ebc8dca3d709e0ef224465ec2d9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a592e26fa24bf64e140f33f6853b7c2f9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a592e26fa24bf64e140f33f6853b7c2f9">m_running</a></td></tr>
<tr class="memdesc:a592e26fa24bf64e140f33f6853b7c2f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the application is running.  <br /></td></tr>
<tr class="separator:a592e26fa24bf64e140f33f6853b7c2f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec2ba587631beecd7da9f53b39909706"><td class="memItemLeft" align="right" valign="top">EventId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#aec2ba587631beecd7da9f53b39909706">m_sendEvent</a></td></tr>
<tr class="memdesc:aec2ba587631beecd7da9f53b39909706"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send event.  <br /></td></tr>
<tr class="separator:aec2ba587631beecd7da9f53b39909706"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab22ae4139e567c50bacd3e231407147"><td class="memItemLeft" align="right" valign="top">Ptr&lt; Socket &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#aab22ae4139e567c50bacd3e231407147">m_socket</a></td></tr>
<tr class="memdesc:aab22ae4139e567c50bacd3e231407147"><td class="mdescLeft">&#160;</td><td class="mdescRight">The transmission socket.  <br /></td></tr>
<tr class="separator:aab22ae4139e567c50bacd3e231407147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1df7eb2d3df2b8170a9fc452e0b2a49b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a1df7eb2d3df2b8170a9fc452e0b2a49b">m_vbr</a></td></tr>
<tr class="memdesc:a1df7eb2d3df2b8170a9fc452e0b2a49b"><td class="mdescLeft">&#160;</td><td class="mdescRight">true meanse VBR  <br /></td></tr>
<tr class="separator:a1df7eb2d3df2b8170a9fc452e0b2a49b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00016">16</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a789f5dd5d50db1e9d60f7f7618098f0d" name="a789f5dd5d50db1e9d60f7f7618098f0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a789f5dd5d50db1e9d60f7f7618098f0d">&#9670;&#160;</a></span>DGRUdpApplication()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DGRUdpApplication::DGRUdpApplication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00024">24</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

</div>
</div>
<a id="ad7423806aaf0be2db0e87be4d30dae7f" name="ad7423806aaf0be2db0e87be4d30dae7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7423806aaf0be2db0e87be4d30dae7f">&#9670;&#160;</a></span>~DGRUdpApplication()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DGRUdpApplication::~DGRUdpApplication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00039">39</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">m_socket</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae7820a661567dee9c180baebda7a4429" name="ae7820a661567dee9c180baebda7a4429"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7820a661567dee9c180baebda7a4429">&#9670;&#160;</a></span>ChangeRate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::ChangeRate </td>
          <td>(</td>
          <td class="paramtype">DataRate&#160;</td>
          <td class="paramname"><em>newDataRate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the sending rate. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newDataRate</td><td>The new DataRate </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00169">169</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00083">m_dataRate</a>.</p>

</div>
</div>
<a id="adf5ede44035ee65db58c501d67f01d07" name="adf5ede44035ee65db58c501d67f01d07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf5ede44035ee65db58c501d67f01d07">&#9670;&#160;</a></span>GetTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::DGRUdpApplication::GetTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register this type. </p>
<dl class="section return"><dt>Returns</dt><dd>The TypeId. </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00045">45</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

</div>
</div>
<a id="a217460003efed056634b84d512c0f47b" name="a217460003efed056634b84d512c0f47b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a217460003efed056634b84d512c0f47b">&#9670;&#160;</a></span>ScheduleTx()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::ScheduleTx </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Schedule a new transmission. </p>

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">149</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00083">m_dataRate</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00081">m_packetSize</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00085">m_running</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00084">m_sendEvent</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00089">m_vbr</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_cgraph.png" border="0" usemap="#ad5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_cgraph" alt=""/></div>
<map name="ad5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_cgraph" id="ad5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_cgraph">
<area shape="rect" title="Schedule a new transmission." alt="" coords="5,47,187,87"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a844392732fe5f6e197992c862c4151db" title="Send a packet" alt="" coords="235,47,416,87"/>
<area shape="poly" title=" " alt="" coords="187,73,221,74,221,79,187,79"/>
<area shape="poly" title=" " alt="" coords="234,61,201,61,201,56,234,56"/>
<area shape="rect" href="../../d0/db3/classns3_1_1_budget_tag.html#a42dfab1331f4f1bb1953c1ec972ab0bb" title="Set the tag&#39;s budget." alt="" coords="465,5,661,31"/>
<area shape="poly" title=" " alt="" coords="416,46,488,31,489,36,417,51"/>
<area shape="rect" href="../../d5/d77/classns3_1_1_flag_tag.html#a92c961c9c9e46744bf73cf82399e68df" title="Set the tag&#39;s flag." alt="" coords="483,55,643,80"/>
<area shape="poly" title=" " alt="" coords="416,65,469,65,469,70,416,70"/>
<area shape="rect" href="../../da/df9/classns3_1_1_priority_tag.html#a2c4ada4770b0f4c6049edb3463da82a4" title="Set the tag&#39;s priority." alt="" coords="464,104,663,129"/>
<area shape="poly" title=" " alt="" coords="417,84,489,99,488,104,416,89"/>
</map>
</div>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_icgraph.png" border="0" usemap="#ad5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_icgraph" alt=""/></div>
<map name="ad5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_icgraph" id="ad5/dbe/classns3_1_1_d_g_r_udp_application_a217460003efed056634b84d512c0f47b_icgraph">
<area shape="rect" title="Schedule a new transmission." alt="" coords="464,5,645,45"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a844392732fe5f6e197992c862c4151db" title="Send a packet" alt="" coords="235,5,416,45"/>
<area shape="poly" title=" " alt="" coords="450,37,416,37,416,31,450,32"/>
<area shape="poly" title=" " alt="" coords="430,14,464,14,464,19,430,19"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ada9c016c08e91a65da084c790acd4618" title=" " alt="" coords="5,5,187,45"/>
<area shape="poly" title=" " alt="" coords="221,28,187,28,187,23,221,23"/>
</map>
</div>

</div>
</div>
<a id="a844392732fe5f6e197992c862c4151db" name="a844392732fe5f6e197992c862c4151db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a844392732fe5f6e197992c862c4151db">&#9670;&#160;</a></span>SendPacket()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::SendPacket </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Send a packet <br  />
 </p>

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">121</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00087">m_budget</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00088">m_flag</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00082">m_nPackets</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00086">m_packetSent</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00081">m_packetSize</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">m_socket</a>, <a class="el" href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00019">MAX_UINT_32</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00028">ns3::BudgetTag::SetBudget()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00170">ns3::FlagTag::SetFlag()</a>, and <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00241">ns3::PriorityTag::SetPriority()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00096">StartApplication()</a>.</p>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_cgraph.png" border="0" usemap="#ad5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_cgraph" alt=""/></div>
<map name="ad5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_cgraph" id="ad5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_cgraph">
<area shape="rect" title="Send a packet" alt="" coords="5,63,187,103"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a217460003efed056634b84d512c0f47b" title="Schedule a new transmission." alt="" coords="243,5,425,45"/>
<area shape="poly" title=" " alt="" coords="186,67,268,47,269,52,188,72"/>
<area shape="rect" href="../../d0/db3/classns3_1_1_budget_tag.html#a42dfab1331f4f1bb1953c1ec972ab0bb" title="Set the tag&#39;s budget." alt="" coords="236,70,432,95"/>
<area shape="poly" title=" " alt="" coords="187,80,222,80,222,85,187,85"/>
<area shape="rect" href="../../d5/d77/classns3_1_1_flag_tag.html#a92c961c9c9e46744bf73cf82399e68df" title="Set the tag&#39;s flag." alt="" coords="254,119,414,145"/>
<area shape="poly" title=" " alt="" coords="188,99,260,114,258,119,186,104"/>
<area shape="rect" href="../../da/df9/classns3_1_1_priority_tag.html#a2c4ada4770b0f4c6049edb3463da82a4" title="Set the tag&#39;s priority." alt="" coords="235,169,433,194"/>
<area shape="poly" title=" " alt="" coords="131,100,179,128,236,154,262,162,260,167,234,158,177,132,128,105"/>
<area shape="poly" title=" " alt="" coords="244,41,162,61,161,56,243,36"/>
</map>
</div>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_icgraph.png" border="0" usemap="#ad5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_icgraph" alt=""/></div>
<map name="ad5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_icgraph" id="ad5/dbe/classns3_1_1_d_g_r_udp_application_a844392732fe5f6e197992c862c4151db_icgraph">
<area shape="rect" title="Send a packet" alt="" coords="235,5,416,45"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a217460003efed056634b84d512c0f47b" title="Schedule a new transmission." alt="" coords="5,5,187,45"/>
<area shape="poly" title=" " alt="" coords="221,37,187,37,187,31,221,32"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ada9c016c08e91a65da084c790acd4618" title=" " alt="" coords="5,69,187,109"/>
<area shape="poly" title=" " alt="" coords="241,52,169,72,167,67,239,46"/>
<area shape="poly" title=" " alt="" coords="201,14,234,14,234,19,201,19"/>
</map>
</div>

</div>
</div>
<a id="adb264cf9c38a6270a7f56faf5a4ff4a3" name="adb264cf9c38a6270a7f56faf5a4ff4a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb264cf9c38a6270a7f56faf5a4ff4a3">&#9670;&#160;</a></span>Setup() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::Setup </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; Socket &gt;&#160;</td>
          <td class="paramname"><em>socket</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Address&#160;</td>
          <td class="paramname"><em>sinkAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>packetSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>nPackets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DataRate&#160;</td>
          <td class="paramname"><em>dataRate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Setup the socket. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">socket</td><td>The socket </td></tr>
    <tr><td class="paramname">sinkAddress</td><td>The destination address. </td></tr>
    <tr><td class="paramname">packetSize</td><td>The packet size to transmit. </td></tr>
    <tr><td class="paramname">nPackets</td><td>The number of packets to transmit </td></tr>
    <tr><td class="paramname">dataRate</td><td>The data rate to use. </td></tr>
    <tr><td class="paramname">flag</td><td>The packet flag </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">79</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00083">m_dataRate</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00088">m_flag</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00082">m_nPackets</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00081">m_packetSize</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00080">m_peer</a>, and <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">m_socket</a>.</p>

</div>
</div>
<a id="a2e5af196e076be85b8442c5375bc3e7e" name="a2e5af196e076be85b8442c5375bc3e7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e5af196e076be85b8442c5375bc3e7e">&#9670;&#160;</a></span>Setup() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::Setup </td>
          <td>(</td>
          <td class="paramtype">Ptr&lt; Socket &gt;&#160;</td>
          <td class="paramname"><em>socket</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Address&#160;</td>
          <td class="paramname"><em>sinkAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>packetSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>nPackets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DataRate&#160;</td>
          <td class="paramname"><em>dataRate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>budget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Setup the socket. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">socket</td><td>The socket </td></tr>
    <tr><td class="paramname">sinkAddress</td><td>The destination address. </td></tr>
    <tr><td class="paramname">packetSize</td><td>The packet size to transmit. </td></tr>
    <tr><td class="paramname">nPackets</td><td>The number of packets to transmit </td></tr>
    <tr><td class="paramname">dataRate</td><td>The data rate to use. </td></tr>
    <tr><td class="paramname">budget</td><td>The packet budget time in millisecond </td></tr>
    <tr><td class="paramname">flag</td><td>The packet flag </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">61</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00087">m_budget</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00083">m_dataRate</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00088">m_flag</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00082">m_nPackets</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00081">m_packetSize</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00080">m_peer</a>, and <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">m_socket</a>.</p>

</div>
</div>
<a id="ada9c016c08e91a65da084c790acd4618" name="ada9c016c08e91a65da084c790acd4618"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada9c016c08e91a65da084c790acd4618">&#9670;&#160;</a></span>StartApplication()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::StartApplication </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00096">96</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00086">m_packetSent</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00080">m_peer</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00085">m_running</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">m_socket</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>.</p>
<div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/dbe/classns3_1_1_d_g_r_udp_application_ada9c016c08e91a65da084c790acd4618_cgraph.png" border="0" usemap="#ad5/dbe/classns3_1_1_d_g_r_udp_application_ada9c016c08e91a65da084c790acd4618_cgraph" alt=""/></div>
<map name="ad5/dbe/classns3_1_1_d_g_r_udp_application_ada9c016c08e91a65da084c790acd4618_cgraph" id="ad5/dbe/classns3_1_1_d_g_r_udp_application_ada9c016c08e91a65da084c790acd4618_cgraph">
<area shape="rect" title=" " alt="" coords="5,63,187,103"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a844392732fe5f6e197992c862c4151db" title="Send a packet" alt="" coords="235,63,416,103"/>
<area shape="poly" title=" " alt="" coords="187,80,221,80,221,85,187,85"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a217460003efed056634b84d512c0f47b" title="Schedule a new transmission." alt="" coords="473,5,654,45"/>
<area shape="poly" title=" " alt="" coords="416,67,497,47,498,52,417,72"/>
<area shape="rect" href="../../d0/db3/classns3_1_1_budget_tag.html#a42dfab1331f4f1bb1953c1ec972ab0bb" title="Set the tag&#39;s budget." alt="" coords="465,70,661,95"/>
<area shape="poly" title=" " alt="" coords="416,80,452,80,452,85,416,85"/>
<area shape="rect" href="../../d5/d77/classns3_1_1_flag_tag.html#a92c961c9c9e46744bf73cf82399e68df" title="Set the tag&#39;s flag." alt="" coords="483,119,643,145"/>
<area shape="poly" title=" " alt="" coords="417,99,489,114,488,119,416,104"/>
<area shape="rect" href="../../da/df9/classns3_1_1_priority_tag.html#a2c4ada4770b0f4c6049edb3463da82a4" title="Set the tag&#39;s priority." alt="" coords="464,169,663,194"/>
<area shape="poly" title=" " alt="" coords="360,100,409,128,465,154,491,162,489,167,463,158,406,132,358,105"/>
<area shape="poly" title=" " alt="" coords="473,41,392,61,390,56,472,36"/>
</map>
</div>

</div>
</div>
<a id="aab68d0f087fac0f3d02e3c8717b8cc21" name="aab68d0f087fac0f3d02e3c8717b8cc21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab68d0f087fac0f3d02e3c8717b8cc21">&#9670;&#160;</a></span>StopApplication()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DGRUdpApplication::StopApplication </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00107">107</a> of file <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00085">m_running</a>, <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00084">m_sendEvent</a>, and <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">m_socket</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="abd5375f6282c6727baa7fb565cff8a3e" name="abd5375f6282c6727baa7fb565cff8a3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd5375f6282c6727baa7fb565cff8a3e">&#9670;&#160;</a></span>m_budget</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRUdpApplication::m_budget</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The budget time in millisecond. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00087">87</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>.</p>

</div>
</div>
<a id="a0c89a7a5f07d90b347e46045b03e7c7a" name="a0c89a7a5f07d90b347e46045b03e7c7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c89a7a5f07d90b347e46045b03e7c7a">&#9670;&#160;</a></span>m_dataRate</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DataRate ns3::DGRUdpApplication::m_dataRate</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The data rate to use. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00083">83</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00169">ChangeRate()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">Setup()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>.</p>

</div>
</div>
<a id="a3cb6df6b08f1d2e547e56bee6581a5fc" name="a3cb6df6b08f1d2e547e56bee6581a5fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cb6df6b08f1d2e547e56bee6581a5fc">&#9670;&#160;</a></span>m_flag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRUdpApplication::m_flag</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The packet flag. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00088">88</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">Setup()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>.</p>

</div>
</div>
<a id="a96e0bf33b34279f8ac18d854702da5e5" name="a96e0bf33b34279f8ac18d854702da5e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96e0bf33b34279f8ac18d854702da5e5">&#9670;&#160;</a></span>m_nPackets</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRUdpApplication::m_nPackets</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The number of packet to send. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00082">82</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">Setup()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>.</p>

</div>
</div>
<a id="abca558ff6138a432a1ed7413b2fe2fd7" name="abca558ff6138a432a1ed7413b2fe2fd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abca558ff6138a432a1ed7413b2fe2fd7">&#9670;&#160;</a></span>m_packetSent</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRUdpApplication::m_packetSent</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The number of packets sent. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00086">86</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00096">StartApplication()</a>.</p>

</div>
</div>
<a id="ae51a9c8759e37e18a79e058ef519bcce" name="ae51a9c8759e37e18a79e058ef519bcce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae51a9c8759e37e18a79e058ef519bcce">&#9670;&#160;</a></span>m_packetSize</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DGRUdpApplication::m_packetSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The packet size. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00081">81</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">Setup()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>.</p>

</div>
</div>
<a id="a054ebc8dca3d709e0ef224465ec2d9bc" name="a054ebc8dca3d709e0ef224465ec2d9bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a054ebc8dca3d709e0ef224465ec2d9bc">&#9670;&#160;</a></span>m_peer</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Address ns3::DGRUdpApplication::m_peer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The destination address. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00080">80</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">Setup()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00096">StartApplication()</a>.</p>

</div>
</div>
<a id="a592e26fa24bf64e140f33f6853b7c2f9" name="a592e26fa24bf64e140f33f6853b7c2f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a592e26fa24bf64e140f33f6853b7c2f9">&#9670;&#160;</a></span>m_running</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRUdpApplication::m_running</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>True if the application is running. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00085">85</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00096">StartApplication()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00107">StopApplication()</a>.</p>

</div>
</div>
<a id="aec2ba587631beecd7da9f53b39909706" name="aec2ba587631beecd7da9f53b39909706"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec2ba587631beecd7da9f53b39909706">&#9670;&#160;</a></span>m_sendEvent</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">EventId ns3::DGRUdpApplication::m_sendEvent</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Send event. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00084">84</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00107">StopApplication()</a>.</p>

</div>
</div>
<a id="aab22ae4139e567c50bacd3e231407147" name="aab22ae4139e567c50bacd3e231407147"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab22ae4139e567c50bacd3e231407147">&#9670;&#160;</a></span>m_socket</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ptr&lt;Socket&gt; ns3::DGRUdpApplication::m_socket</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The transmission socket. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00079">79</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00039">~DGRUdpApplication()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">SendPacket()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00079">Setup()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00061">Setup()</a>, <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00096">StartApplication()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00107">StopApplication()</a>.</p>

</div>
</div>
<a id="a1df7eb2d3df2b8170a9fc452e0b2a49b" name="a1df7eb2d3df2b8170a9fc452e0b2a49b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1df7eb2d3df2b8170a9fc452e0b2a49b">&#9670;&#160;</a></span>m_vbr</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::DGRUdpApplication::m_vbr</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>true meanse VBR </p>

<p class="definition">Definition at line <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html#l00089">89</a> of file <a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00149">ScheduleTx()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../dc/d8d/dgr-udp-application_8h_source.html">dgr-udp-application.h</a></li>
<li>model/<a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html">dgr-udp-application.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html">DGRUdpApplication</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
